function isNaN(num) {
    var ret = Number(num);

    ret += "";

    return ret == "NaN"
}